package com.study.rpc10.client;

import com.study.common.IUserService;

/**
 * 此时只是负责通过代理对象获得想要的类或方法
 */
public class Client {
    public static void main(String[] args) throws Exception{
        IUserService service = (IUserService) Stub.getStub(IUserService.class);
        System.out.println(service.findUserById(123));
    }
}
